package com.hanthink.system.domain.pc;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hanthink.common.annotation.Excel;
import com.hanthink.common.core.domain.BaseEntity;

/**
 * 故障代码对象 EM_FAULT_CODE
 * 
 * @author hanthink
 * @date 2021-01-21
 */
public class EmFaultCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 故障类型 */
    @Excel(name = "故障类型")
    private String faultCode;

    /** 子项描述 */
    @Excel(name = "子项描述")
    private String itemDesc;

    /** 工厂 */
    @Excel(name = "工厂")
    private String siteKey;

    /** 子项编码 */
    @Excel(name = "子项编码")
    private String itemCode;

    /** id */
    private Long id;

    public void setFaultCode(String faultCode) 
    {
        this.faultCode = faultCode;
    }

    public String getFaultCode() 
    {
        return faultCode;
    }
    public void setItemDesc(String itemDesc) 
    {
        this.itemDesc = itemDesc;
    }

    public String getItemDesc() 
    {
        return itemDesc;
    }
    public void setSiteKey(String siteKey) 
    {
        this.siteKey = siteKey;
    }

    public String getSiteKey() 
    {
        return siteKey;
    }
    public void setItemCode(String itemCode) 
    {
        this.itemCode = itemCode;
    }

    public String getItemCode() 
    {
        return itemCode;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("faultCode", getFaultCode())
            .append("itemDesc", getItemDesc())
            .append("remark", getRemark())
            .append("siteKey", getSiteKey())
            .append("itemCode", getItemCode())
            .append("id", getId())
            .toString();
    }
}
